package cn.sample.moreitems.init;

import cn.sample.moreitems.MoreItems;
import net.minecraft.core.particles.ParticleType;
import net.minecraft.core.particles.SimpleParticleType;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.ForgeRegistries;
import net.minecraftforge.registries.RegistryObject;

public class ModParticles {
    public static final DeferredRegister<ParticleType<?>> PARTICLES =
            DeferredRegister.create(ForgeRegistries.PARTICLE_TYPES, MoreItems.MODID);

    // 一个简单的粒子类型
    public static final RegistryObject<SimpleParticleType> CUSTOM_EXPLOSION =
            PARTICLES.register("custom_explosion", () -> new SimpleParticleType(false));
}
